#ifndef SHOWINTERFACE_H
#define SHOWINTERFACE_H
/**
* @file ShowInterface.h
* @Description: ShowInterface.h 数据显示接口，
* @Date: 2020-03-09
* @LastEditTime: 2020-03-09
* @LastEditors: twosilly
* @Author: twosilly
* @E-Mail:twosilly@foxmail.com
*/
#include <QObject>
#include <QtPlugin>
#include <QDockWidget>
#include "interface/PluginMetaData.h"

class ShowDataInterface 
{
    
public:
    
    virtual ~ShowDataInterface() {}
    //!接口
    virtual void recMsgfromManager(PluginMetaData) = 0;
    virtual void sendMsg2Manager(PluginMetaData)   = 0;
    //virtual void sendResult(QByteArray buf) = 0;
    //! 工具栏
    virtual QWidget * toolbarWidget() = 0;
    //!中心窗口
    virtual QWidget *centerWidget() = 0;
    /// info 窗口
    virtual QDockWidget *dockWidgetInfo() = 0;
};

#define ShowDataInterface_iid "com.show.data.interface"
Q_DECLARE_INTERFACE(ShowDataInterface,ShowDataInterface_iid)
#endif // SHOWINTERFACE_H
